<div class="row">
  <div class="span3 bs-docs-sidebar ">
 	<*include file="<*$controller*>/location.tpl"*>
  </div>

  <div class="span9"> 
<div class="text-right"><a role="button" class="btn btn-primary " data-toggle="modal" href="/<*$controller*>/clear" ><i class="icon-pencil icon-white"> </i> 清理超时数据</a></div>

        <table class="table table-hover" style="margin-top:15px;">
            <tr>
                <th>&nbsp;</th>
                <th>序号</th>
                <th>校区</th>
                <th>最后连接时间</th>
                <th>clientip</th>
                <th>lastip</th>
                <th>&nbsp;</th>
            </tr>
            <*eval var=-1 assign="groupid_or"*>
        	<*foreach from=$result item=item key=key name=foo*>
            <*eval var=$item.groupid assign="groupid"*>
            <*if $groupid_or<>$groupid*>
             <tr class="success">
             <td colspan="7"><*eval var=$item.groupid assign="groupid"*><*if $groupid*><*$groupnamelist.$groupid*><*else*>默认<*/if*></td>
			</tr>
             <*eval var=$groupid assign="groupid_or"*>
            <*/if*>
            <tr <*if $item.isold==1*>class="warning"<*elseif $item.isouttime==1*>class="error"<*/if*> >
                <td>&nbsp;</td>
                <td><*$smarty.foreach.foo.iteration*></td>
                <td><*eval var=$item.schoolid assign="schoolid"*><*if $schoolid*><*$schoolnamelist.$schoolid*><*else*>默认<*/if*></td>
                <td><span title="<*$item.lasttime*>"><*$item.lasttimeDisp*></span></td>
                <td><*$item.clientip*></td>
                <td><*$item.lastip*></td>
                <td>
                <a href="/<*$controller*>/delete/clientid/<*$item.clientid*>" class="btn btn-small"><i class="icon-trash "></i></a>
                </td>
            </tr>
            <*/foreach*>
        </table>
        <div >
        <table class="table">
        <tr>
        <th  colspan="2">背景颜色说明：</th>
        </tr>
        <tr>
        	<td style="background-color:#f2dede;">客户端掉线（要引起注意）</td>
        	<td style="background-color:#fcf8e3;">因客户端重新拨号导致互联网ip地址变化（此可以忽略）</td>
        </tr>
        </table>
        </div>
  </div>
</div>